וַיֵּ֣דַע דָּוִ֔יד כִּֽי־הֱכִינ֧וֹ יְהוָ֛ה לְמֶ֖לֶךְ עַל־יִשְׂרָאֵ֑ל כִּֽי־נִשֵּׂ֤את לְמַ֙עְלָה֙ מַלְכוּת֔וֹ בַּעֲב֖וּר עַמּ֥וֹ יִשְׂרָאֵֽל׃ (פ)
Rashi on I Chronicles
And David knew that the Lord had established him as king when he saw that the kings of the nations sent him gifts.